On the Space-Time Mapping of While-Loops
نویسندگان
چکیده
A WHILE-loop can be viewed as a FOR-loop with a dynamic upper bound. The computational model of convex polytopes is useful for the automatic parallelization of FOR-loops. We investigate its potential for the parallelization of WHILE-loops. 1. WHILE-loops as FOR-loops We denote a FOR-loop as follows: FOR index := lower bound TO upper bound DO body The step size (also called stride) of a FOR-loop is +1. (A FOR-loop with a diierent stride can easily be transformed to one with stride +1.) If the upper bound of the FOR-loop is smaller than the lower bound, the loop deenes the empty statement. A WHILE-loop is commonly denoted as follows: WHILE condition DO body One can view a WHILE-loop as a generalized FOR-loop, with a conditional upper bound that is reevaluated after every iteration: FOR new index := 0 TO (IF condition THEN new index ELSE new index?1) DO body Here, new index is a new index variable. The upper bound of the loop is incremented at each iteration. When the condition is found to be violated, the upper bound is reduced to cause termination. We shall use the following syntax for a WHILE-loop written as a FOR-loop: FOR new index := 0 WHILE condition DO body Hereby, the new index works as a counter for the number of executed iterations of the WHILE-loop. As in FOR-loops, its increment is not explicitly speciied in the body.
منابع مشابه
Fixed point theorem for non-self mappings and its applications in the modular space
In this paper, based on [A. Razani, V. Rako$check{c}$evi$acute{c}$ and Z. Goodarzi, Nonself mappings in modular spaces and common fixed point theorems, Cent. Eur. J. Math. 2 (2010) 357-366.] a fixed point theorem for non-self contraction mapping $T$ in the modular space $X_rho$ is presented. Moreover, we study a new version of Krasnoseleskii's fixed point theorem for $S+T$, where $T$ is a cont...
متن کاملFixed points for total asymptotically nonexpansive mappings in a new version of bead space
The notion of a bead metric space is defined as a nice generalization of the uniformly convex normed space such as $CAT(0)$ space, where the curvature is bounded from above by zero. In fact, the bead spaces themselves can be considered in particular as natural extensions of convex sets in uniformly convex spaces and normed bead spaces are identical with uniformly convex spaces. In this paper, w...
متن کاملMapping nested loops onto distributed memory multiprocessors
This paper presents Chain grouping; a new low complexity method for the problem of partitioning the index space into groups with little intercommunication requirements, for mapping onto distributed mesh-connected architectures. First the loop iterations are scheduled in time, according to the hyperplane method, taking into consideration the minimum time displacement. Then, the index space is di...
متن کاملExistence Results of best Proximity Pairs for a Certain Class of Noncyclic Mappings in Nonreflexive Banach Spaces Polynomials
Introduction Let be a nonempty subset of a normed linear space . A self-mapping is said to be nonexpansive provided that for all . In 1965, Browder showed that every nonexpansive self-mapping defined on a nonempty, bounded, closed and convex subset of a uniformly convex Banach space , has a fixed point. In the same year, Kirk generalized this existence result by using a geometric notion of ...
متن کاملThe Impact of Semantic Mapping Instruction on Iranian EFL Learners’ Reading Comprehension of Expository Texts
The current article was an attempt to investigate the effect of semantic mapping strategy instruction on reading comprehension performance of EFL learners. To this end, thirty homogeneous Iranian intermediate EFL learners attending a language school in Bonab, Iran, were randomly assigned to two groups, one as the experimental and the other as the control. The experimental group received instruc...
متن کاملAssessment of Guinea Savanna River system to evaluate water quality and water monitoring networks
The analysis of changes in water quality in a monitoring network system is important because the sources of pollution vary in time and space. This study utilized analysis of the water quality index calculation, hierarchical cluster analysis, and mapping. This was achieved by assessing the water quality parameters of the samples collected from Galma River in Zaria, Northwestern Nigeria in wet an...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Parallel Processing Letters
دوره 4 شماره
صفحات -
تاریخ انتشار 1994